package com.qc31.monitorlib.clusters

import android.graphics.drawable.Drawable
import com.amap.api.maps.model.BitmapDescriptor

/** Created by yiyi.qi on 16/10/10. */
interface ClusterRender {
    /**
     * 根据聚合点的元素数目返回渲染背景样式
     *
     * @param clusterNum
     * @return
     */
    fun getDrawAble(clusterNum: Int): Drawable
    fun getBitmapDesc(item: ClusterItem): BitmapDescriptor
}